<link href="__CDN__/assets/addons/qingdongams/css/index.css?v={$Think.config.site.version}" rel="stylesheet">

<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-heading">
        <ul class="nav nav-tabs" data-field="status">
            <li class="active"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
            <li><a href="#t-1" data-value="1" data-toggle="tab">待处理</a></li>
            <li><a href="#t-2" data-value="2" data-toggle="tab">处理中</a></li>
            <li><a href="#t-3" data-value="3" data-toggle="tab">已完成</a></li>
        </ul>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        {:build_toolbar('refresh')}
                        <div class="dropdown btn-group">
                            <a class="btn btn-success btn-more dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> 新建工单</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-dialog" data-url="qingdongams/workorder/workorder/add?workorder_type=设计工单" data-area=["80%","80%"] data-title="设计工单" >设计工单</a></li>
                                <li><a class="btn btn-link btn-dialog" data-url="qingdongams/workorder/workorder/add?workorder_type=生产工单" data-area=["80%","80%"] data-title="生产工单" >生产工单</a></li>
                                <li><a class="btn btn-link btn-dialog" data-url="qingdongams/workorder/workorder/add?workorder_type=产品发货" data-area=["80%","80%"] data-title="产品发货" >产品发货</a></li>
                                <li><a class="btn btn-link btn-dialog" data-url="qingdongams/workorder/workorder/add?workorder_type=上门安装" data-area=["80%","80%"] data-title="上门安装" >上门安装</a></li>
                                <li><a class="btn btn-link btn-dialog" data-url="qingdongams/workorder/workorder/add?workorder_type=上门维修" data-area=["80%","80%"] data-title="上门维修" >上门维修</a></li>
                                <li><a class="btn btn-link btn-dialog" data-url="qingdongams/workorder/workorder/add?workorder_type=返厂维修" data-area=["80%","80%"] data-title="返厂维修" >返厂维修</a></li>
                                <li><a class="btn btn-link btn-dialog" data-url="qingdongams/workorder/workorder/add?workorder_type=品质异常单" data-area=["80%","80%"] data-title="品质异常单" >品质异常单</a></li>
                                <li><a class="btn btn-link btn-dialog" data-url="qingdongams/workorder/workorder/add?workorder_type=电话售后" data-area=["80%","80%"] data-title="电话售后" >电话售后</a></li>
                            </ul>
                        </div>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
